import http from "@/http";
//分页参数
export type SuggestionParm = {
    currentPage: number;
    pageSize: number;
    title: string;
    total:number;
}
//反馈类型
export type Suggestion = {
    id: string;
    title: string;
    content: string;
}
//列表
export const getListApi = (parm:SuggestionParm)=>{
    return http.get("/api/sysSuggestion/getList",parm)
}
//删除
export const deleteApi = (id:string)=>{
    return http.delete(`/api/sysSuggestion/${id}`)
}